<div class="col-md-12 column">
        <h3>
                <?php echo __('UPCOMING_SHOWS')?><br>
        </h3>

        <?php 
            foreach($upcoming_shows as $show) {
                echo 
                    '<div class="col-md-6 column pull-left"><div class="panel panel-default"><div class="panel-heading"><h3 class="panel-title"><strong>' .
                        ($language == 'lv' ? $show->get('movie')->title_lv : $show->get('movie')->title_en ) . '</strong> (' . $show->get('movie')->year . ')' .
                    '</h3></div><div class="panel-body"><p>'.
                        '<img src="/uploads/posters/' . $show->get('movie')->poster_small . '" style="float: left; margin-right: 10px;">' .
                        ($language == 'lv' ? mb_substr($show->get('movie')->description_lv, 0, 200) : mb_substr($show->get('movie')->description_en, 0, 200) ) . '...</p><hr><p>' . 
                        __('SHOW_START') .':<strong>&nbsp;&nbsp; ' . date('d.m.Y H:i', $show->start_time) . '</strong><br>' .
                        __('LANGUAGE') .':<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '. __($show->language) .'</strong>' .
                        '<p>'.
                        '<a class="btn btn-success" href="/order/new/'. $show->id .'"><span class="glyphicon glyphicon-shopping-cart"></span>&nbsp;&nbsp;'. __('PURCHASE_TICKETS') .'</a>
                        <a class="btn btn-info" href="/movie/view/'. $show->get('movie')->id .'"><span class="glyphicon glyphicon-info-sign"></span>&nbsp;&nbsp;'. __('MOVIE_INFO') .'</a>' .
                    '</div></div></div>';
            }
        
        ?>
</div>